package com.kingdee.eas.ec.garden.settle.app;

import javax.ejb.*;
import java.rmi.RemoteException;
import com.kingdee.bos.*;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.metadata.IMetaDataPK;
import com.kingdee.bos.metadata.rule.RuleExecutor;
import com.kingdee.bos.metadata.MetaDataPK;
//import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.bos.framework.ejb.AbstractEntityControllerBean;
import com.kingdee.bos.framework.ejb.AbstractBizControllerBean;
//import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.bos.dao.IObjectValue;
import com.kingdee.bos.dao.IObjectCollection;
import com.kingdee.bos.service.ServiceContext;
import com.kingdee.bos.service.IServiceContext;
import com.kingdee.eas.framework.Result;
import com.kingdee.eas.framework.LineResult;
import com.kingdee.eas.framework.exception.EASMultiException;
import com.kingdee.bos.dao.ormapping.ObjectUuidPK;

import java.lang.String;
import com.kingdee.eas.common.EASBizException;
import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.eas.ec.contract.biz.ContractSettleBillCollection;
import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.eas.ec.garden.settle.GaSubPackageSettleBillCollection;
import com.kingdee.bos.metadata.entity.SelectorItemCollection;
import com.kingdee.eas.framework.CoreBaseCollection;
import com.kingdee.eas.framework.CoreBillBaseCollection;
import com.kingdee.eas.framework.CoreBaseInfo;
import com.kingdee.eas.framework.BillBaseCollection;
import com.kingdee.eas.ec.basedata.BaseBillCollection;
import com.kingdee.eas.framework.ObjectBaseCollection;
import com.kingdee.eas.ec.contract.framework.ContractBaseBillCollection;
import com.kingdee.eas.ec.contract.biz.app.ContractSettleBillControllerBean;
import com.kingdee.eas.ec.garden.settle.GaSubPackageSettleBillInfo;



public abstract class AbstractGaSubPackageSettleBillControllerBean extends ContractSettleBillControllerBean implements GaSubPackageSettleBillController
{
    protected AbstractGaSubPackageSettleBillControllerBean()
    {
    }

    protected BOSObjectType getBOSType()
    {
        return new BOSObjectType("A15738F4");
    }

    public GaSubPackageSettleBillInfo getGaSubPackageSettleBillInfo(Context ctx, IObjectPK pk) throws BOSException, EASBizException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("14ca565b-ac57-446d-925a-e0e593e16cd7"), new Object[]{ctx, pk});
            invokeServiceBefore(svcCtx);
            GaSubPackageSettleBillInfo retValue = (GaSubPackageSettleBillInfo)_getValue(ctx, pk);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } catch (EASBizException ex0) {
            throw ex0;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectValue _getValue(Context ctx, IObjectPK pk) throws BOSException, EASBizException
    {
        return super._getValue(ctx, pk);
    }

    public GaSubPackageSettleBillInfo getGaSubPackageSettleBillInfo(Context ctx, IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("8f720de2-b2d7-4712-83f1-2bef02cab8c2"), new Object[]{ctx, pk, selector});
            invokeServiceBefore(svcCtx);
            GaSubPackageSettleBillInfo retValue = (GaSubPackageSettleBillInfo)_getValue(ctx, pk, selector);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } catch (EASBizException ex0) {
            throw ex0;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectValue _getValue(Context ctx, IObjectPK pk, SelectorItemCollection selector) throws BOSException, EASBizException
    {
        return super._getValue(ctx, pk, selector);
    }

    public GaSubPackageSettleBillInfo getGaSubPackageSettleBillInfo(Context ctx, String oql) throws BOSException, EASBizException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("824b2383-9fef-444d-9497-ffb3f22cb376"), new Object[]{ctx, oql});
            invokeServiceBefore(svcCtx);
            GaSubPackageSettleBillInfo retValue = (GaSubPackageSettleBillInfo)_getValue(ctx, oql);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } catch (EASBizException ex0) {
            throw ex0;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectValue _getValue(Context ctx, String oql) throws BOSException, EASBizException
    {
        return super._getValue(ctx, oql);
    }

    public GaSubPackageSettleBillCollection getGaSubPackageSettleBillCollection(Context ctx) throws BOSException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("cc76be9a-1c01-4cfa-9c1c-2f73f8283b4d"), new Object[]{ctx});
            invokeServiceBefore(svcCtx);
            GaSubPackageSettleBillCollection retValue = (GaSubPackageSettleBillCollection)_getCollection(ctx, svcCtx);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx) throws BOSException
    {
        return super._getCollection(ctx, svcCtx);
    }

    public GaSubPackageSettleBillCollection getGaSubPackageSettleBillCollection(Context ctx, EntityViewInfo view) throws BOSException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("d5e231da-8e29-4b76-993c-27046f85e581"), new Object[]{ctx, view});
            invokeServiceBefore(svcCtx);
            GaSubPackageSettleBillCollection retValue = (GaSubPackageSettleBillCollection)_getCollection(ctx, svcCtx, view);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx, EntityViewInfo view) throws BOSException
    {
        return super._getCollection(ctx, svcCtx, view);
    }

    public GaSubPackageSettleBillCollection getGaSubPackageSettleBillCollection(Context ctx, String oql) throws BOSException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("191afea3-6743-480d-8944-a21a3c6bdba7"), new Object[]{ctx, oql});
            invokeServiceBefore(svcCtx);
            GaSubPackageSettleBillCollection retValue = (GaSubPackageSettleBillCollection)_getCollection(ctx, svcCtx, oql);
            svcCtx.setMethodReturnValue(retValue);
            invokeServiceAfter(svcCtx);
            return retValue;
        } catch (BOSException ex) {
            throw ex;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected IObjectCollection _getCollection(Context ctx, IServiceContext svcCtx, String oql) throws BOSException
    {
        return super._getCollection(ctx, svcCtx, oql);
    }

    public ContractSettleBillCollection getContractSettleBillCollection (Context ctx) throws BOSException
    {
    	return (ContractSettleBillCollection)(getGaSubPackageSettleBillCollection(ctx).cast(ContractSettleBillCollection.class));
    }
    public ContractSettleBillCollection getContractSettleBillCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (ContractSettleBillCollection)(getGaSubPackageSettleBillCollection(ctx, view).cast(ContractSettleBillCollection.class));
    }
    public ContractSettleBillCollection getContractSettleBillCollection (Context ctx, String oql) throws BOSException
    {
    	return (ContractSettleBillCollection)(getGaSubPackageSettleBillCollection(ctx, oql).cast(ContractSettleBillCollection.class));
    }
    public ContractBaseBillCollection getContractBaseBillCollection (Context ctx) throws BOSException
    {
    	return (ContractBaseBillCollection)(getGaSubPackageSettleBillCollection(ctx).cast(ContractBaseBillCollection.class));
    }
    public ContractBaseBillCollection getContractBaseBillCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (ContractBaseBillCollection)(getGaSubPackageSettleBillCollection(ctx, view).cast(ContractBaseBillCollection.class));
    }
    public ContractBaseBillCollection getContractBaseBillCollection (Context ctx, String oql) throws BOSException
    {
    	return (ContractBaseBillCollection)(getGaSubPackageSettleBillCollection(ctx, oql).cast(ContractBaseBillCollection.class));
    }
    public BaseBillCollection getBaseBillCollection (Context ctx) throws BOSException
    {
    	return (BaseBillCollection)(getGaSubPackageSettleBillCollection(ctx).cast(BaseBillCollection.class));
    }
    public BaseBillCollection getBaseBillCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (BaseBillCollection)(getGaSubPackageSettleBillCollection(ctx, view).cast(BaseBillCollection.class));
    }
    public BaseBillCollection getBaseBillCollection (Context ctx, String oql) throws BOSException
    {
    	return (BaseBillCollection)(getGaSubPackageSettleBillCollection(ctx, oql).cast(BaseBillCollection.class));
    }
    public BillBaseCollection getBillBaseCollection (Context ctx) throws BOSException
    {
    	return (BillBaseCollection)(getGaSubPackageSettleBillCollection(ctx).cast(BillBaseCollection.class));
    }
    public BillBaseCollection getBillBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (BillBaseCollection)(getGaSubPackageSettleBillCollection(ctx, view).cast(BillBaseCollection.class));
    }
    public BillBaseCollection getBillBaseCollection (Context ctx, String oql) throws BOSException
    {
    	return (BillBaseCollection)(getGaSubPackageSettleBillCollection(ctx, oql).cast(BillBaseCollection.class));
    }
    public CoreBillBaseCollection getCoreBillBaseCollection (Context ctx) throws BOSException
    {
    	return (CoreBillBaseCollection)(getGaSubPackageSettleBillCollection(ctx).cast(CoreBillBaseCollection.class));
    }
    public CoreBillBaseCollection getCoreBillBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (CoreBillBaseCollection)(getGaSubPackageSettleBillCollection(ctx, view).cast(CoreBillBaseCollection.class));
    }
    public CoreBillBaseCollection getCoreBillBaseCollection (Context ctx, String oql) throws BOSException
    {
    	return (CoreBillBaseCollection)(getGaSubPackageSettleBillCollection(ctx, oql).cast(CoreBillBaseCollection.class));
    }
    public ObjectBaseCollection getObjectBaseCollection (Context ctx) throws BOSException
    {
    	return (ObjectBaseCollection)(getGaSubPackageSettleBillCollection(ctx).cast(ObjectBaseCollection.class));
    }
    public ObjectBaseCollection getObjectBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (ObjectBaseCollection)(getGaSubPackageSettleBillCollection(ctx, view).cast(ObjectBaseCollection.class));
    }
    public ObjectBaseCollection getObjectBaseCollection (Context ctx, String oql) throws BOSException
    {
    	return (ObjectBaseCollection)(getGaSubPackageSettleBillCollection(ctx, oql).cast(ObjectBaseCollection.class));
    }
    public CoreBaseCollection getCoreBaseCollection (Context ctx) throws BOSException
    {
    	return (CoreBaseCollection)(getGaSubPackageSettleBillCollection(ctx).cast(CoreBaseCollection.class));
    }
    public CoreBaseCollection getCoreBaseCollection (Context ctx, EntityViewInfo view) throws BOSException
    {
    	return (CoreBaseCollection)(getGaSubPackageSettleBillCollection(ctx, view).cast(CoreBaseCollection.class));
    }
    public CoreBaseCollection getCoreBaseCollection (Context ctx, String oql) throws BOSException
    {
    	return (CoreBaseCollection)(getGaSubPackageSettleBillCollection(ctx, oql).cast(CoreBaseCollection.class));
    }
}